﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MSAcademic.v2.Infrastructure.PasswordRecovery
{
    public interface IPasswordRecoveryService
    {
        string GenerateToken(string username);
        bool VerifyToken(string tokenValue);
        void MarkTokenAsUsed(string tokenValue);
        int TryGetUserIdWhereToken(string tokenValue);
    }
}
